<?php
// echo '<pre>';
// print_r($_SERVER);
// print_r($_GET);
// print_r($_REQUEST);

if ($_SERVER['REQUEST_METHOD'] === 'GET') {
    echo 'GET请求', '<br>';
    echo $_GET['name'], '<br>';
    echo $_GET['age'], '<br>';
    echo $_GET['address'], '<br>';
    echo $_GET['gender'], '<br>';

    echo '爱好', '<br>';
    foreach ($_GET['love'] as $v) {
        echo $v, '<br>';
    }
}


print_r($_GET);